﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WAD.WEB.Admin.Ajax
{
    /// <summary>
    /// Sys 的摘要说明
    /// </summary>
    public class Sys : QD.Web.Ajax.AjaxPage
    {
        public override void AjaxMethodDispatch(String identity)
        {
            switch (identity)
            {
                case "checktime": this.CheckTime(); break;
            }
        }
        /// <summary>
        /// 检测系统数据库查询是否繁忙
        /// </summary>
        [QD.Web.Ajax.AjaxMethod]
        public void CheckTime()
        {
            int count = DAL.DaoChannel.GetCount("channel", "id=1");
            Response.Write("success");
        }
    }
}